[IA64] Remove bogus hypercall arg
authorAlex Williamson <alex.williamson@hp.com>
Mon, 10 Mar 2008 17:55:40 +0000 (11:55 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Mon, 10 Mar 2008 17:55:40 +0000 (11:55 -0600)
privcmd_hypercall_t only has 5 args.  This causes a build failure
with gcc-4.3.  Fixes bugzilla #1186.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
tools/libxc/ia64/xc_ia64_stubs.c

index 61446b9957be8e9ae83370f3fca80a0744f9bceb..41a4da75fc6446ec5829132cbc44049f6e628a13 100644 (file)
@@ -92,7 +92,6 @@ xc_ia64_map_foreign_p2m(int xc_handle, uint32_t dom,
     hypercall.arg[2] = dom;
     hypercall.arg[3] = (unsigned long)memmap_info;
     hypercall.arg[4] = flags;
-    hypercall.arg[5] = 0;
 
     if (lock_pages(memmap_info,
                    sizeof(*memmap_info) + memmap_info->efi_memmap_size) != 0) {